<template>
	<view style="width: 100%; height: 100%;">
		<!-- <view class="button-home" @tap="toback">
			返回首页
		</view> -->
	</view>
	
</template>
<script>
	
	const plugin = requirePlugin('live-player-plugin')
	// 按需加载
	export default {
		data() {
			return {
				

			}
		},

		computed: {
	
		},
	
		onLoad: function(e) {

			let that = this;


			let opt = {
				data:{token:'9ff8012bf083bd4c01e15d6c9faa188d',path:'/pages/index/index'},
				success:function(res){
				//设置参数成功
				console.log(res)
				},
				fail:function(res){
				//设置参数失败
				console.log(res)
				}
			}


			plugin.init(opt)
			setTimeout(function(){
				wx.navigateTo({url: 'plugin://xiaoou-plugin/main'})
			},2000)
			  
		
			
		},

		//页面初始
		onShow() {
			
		},
		methods: {
			onJump() {

			},
			toback(){
				let _this =this
				// uni.navigateTo({
				// 	url: '/pages/home/home'
				// })
				_this.$refer.setVilit('/pages/home/home')
				let callback = function(url) {
					// _this.$refs.popupvLogin.open()
				}
				let data = {
					// id:id,
				}
				_this.$refer.toUrl(callback, data)
			}
		}
	}
</script>

<style lang="scss">
	@import "./index.scss";
</style>
